package com.itheima.common;

/**
 * @Author itheima
 * @Date 2022/5/8 16:30
 */
public class CustomerException extends RuntimeException {
    /**
     * 定义一个有参构造方法，用于塞入我们异常信息
     * throw new CustomerException("删除的该分类下，关联了其他菜品，不能删除！");
     * customerException.getMessage();
     */
    public CustomerException(String msg) {
        super(msg);
    }
}
